#include <stdio.h>
int main(){
	float num1, num2;
	while (scanf("%f%f", &num1, &num2) != 2){
		printf("please input correct digit!\n");
	}
	printf("%f\n", (num1-num2)/(num1*num2));
	return 0;
}
//??????????????????????????????????